﻿using System;

namespace enyo
{
    /// <summary>
    /// A control that displays a scrolling list of views.
    /// VirtualCarousel is optimized such that only three views are created even if the actual number of views is infinite.
    /// VirtualCarousel doesn't employ a flyweight strategy but does take into account the fact that object creation is expensive.
    /// A new view will not be created if there is an old view that can be reused.
    /// </summary>
    public class VirtualCarousel : CarouselInternal
    {
        //TODO:inSender, inView, inViewIndex/ return true?????
        public EnyoCallback<bool, Control, Control, int> onSetupView;

        public void RenderViews(int index, bool forceCreate)
        {
        }
    }
}
